import React, { Component } from 'react';
import { Text, View,StyleSheet,Alert,Button,TextInput,Dimensions,Image} from 'react-native';
//导入Action的包,处理页面跳转 首页
const width = Dimensions.get('window').width;
import { Actions } from 'react-native-router-flux';
import Header from '../header/header'
import BottomTab from '../bottomTab/bottomTab'
export default class Home extends Component {
    constructor(props){
        super(props);
        this.state = {

        }
    }
    //头部不要
    static  navigationOptions = ({navigation}) => {
        return {
            header:null
        }
    }
    render(){
        return (
            <View style={styles.container}>
                <Header name='首页' rightTitle='搜索'></Header>
                <BottomTab></BottomTab>
            </View>
        );
    }

};
const styles = StyleSheet.create({
    container:{
        // position: 'relative',
        width:width,
        height:'100%'
    }

});